package com.datang.pet.mapper;

import com.datang.pet.pojo.TalkOneTierComment;
import com.datang.pet.pojo.TalkOneTierCommentExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TalkOneTierCommentMapper {
    long countByExample(TalkOneTierCommentExample example);

    int deleteByExample(TalkOneTierCommentExample example);

    int deleteByPrimaryKey(String id);

    int insert(TalkOneTierComment record);

    int insertSelective(TalkOneTierComment record);

    List<TalkOneTierComment> selectByExample(TalkOneTierCommentExample example);

    TalkOneTierComment selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TalkOneTierComment record, @Param("example") TalkOneTierCommentExample example);

    int updateByExample(@Param("record") TalkOneTierComment record, @Param("example") TalkOneTierCommentExample example);

    int updateByPrimaryKeySelective(TalkOneTierComment record);

    int updateByPrimaryKey(TalkOneTierComment record);
}